package com.yilin.tms.truck.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yilin.tms.core.application.PageData;
import com.yilin.tms.core.entity.truck.TransportLicense;
import com.yilin.tms.core.entity.user.account.Account;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


/**
 * 道路运输证Mapper
 *
 * @author zhangjinyuan
 * @date 2022/10/26
 */
@Mapper
@Repository
public interface ITransportLicenseService extends IService<TransportLicense> {
    PageData<TransportLicense> getTransportLicensePage(Account loginUser, TransportLicense query, Integer start, Integer limit);

    void saveTransportLicense(Account user, TransportLicense transportLicense);

    void verifyAndUpdateAuth(Account loginUser, TransportLicense transportLicense);

}
